package com.generate.table;

import java.util.LinkedList;
import java.util.List;

public class Tbody {
    private List<Tr> trs = new LinkedList<>();

    public List<Tr> getTrs() {
        return trs;
    }

    public void setTrs(List<Tr> trs) {
        this.trs = trs;
    }

    public void addTr(Tr tr) {
        if (trs == null) {
            trs = new LinkedList<>();
        }
        trs.add(tr);
    }
}
